from django.conf.urls.defaults import *
from blog.models import Post

page = url(
    regex  = '^(?P<slug>[-\w]+)/$',
    view   = 'blog.views.page',
    name   = 'vwpage'
)


index = url(
    regex  = '^$',
    view   = 'blog.views.page_index',
    name   = 'vwpageindex'
)

urlpatterns = patterns('', index, page)
